import request from '@/utils/request'

// 商品访问统计
export function getGoodsStatistics(query) {
  return request({
    url: '/statistics/',
    method: 'get',
    params: query
  })
}

// 门户访问统计，按时间
export function getAccessRecords(query) {
  return request({
    url: '/statistics/accessRecords',
    method: 'get',
    params: query
  })
}
